<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

namespace m;

trait comment 
{
    function save($data)
    {
        $data['time'] = date('YmdHis');
		if (\YF_f::$login_user_id)
			$data['user_id'] = \YF_f::$login_user_id;
		
		return $this->db->save($this->table, $data);
    }
    function del()
    {   
    }
    function get()
    {   
    }
}
